package com.healthcloud.service.impl;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.healthcloud.dao.MobileModelMapper;
import com.healthcloud.entity.MobileModel;
import com.healthcloud.service.MobileModelService;

/**
 * Created by XYC on 2015/7/28.
 *
 */
@Service
public class MobileModelServiceImpl implements MobileModelService {
   @Autowired
     private MobileModelMapper mobileModelMapper;
    @Override
    public ArrayList<MobileModel> findAll() {
       // mobileModelMapper.findByEntityAll(new MobileModel );

        return (ArrayList<MobileModel>) mobileModelMapper.findByEntityAll(new MobileModel());
    }
}
